
   ALL = imath.so
CFLAGS = -DNO_ASSERT

all: $(ALL)

clean:
	-rm -f *~

distclean: clean
	-rm -f $(ALL)

imath.c: imath.h

%.so: %.c
	$(CC) $(CFLAGS) $(LDFLAGS) --shared -fPIC $*.c -o $*.so
	strip -R .comment $*.so
	strip $*.so
